package com.cq.hd.product.service.impl;

import com.cq.hd.product.api.vo.ActiveDiscountVo;
import com.cq.hd.product.po.TbActiveDiscountPo;
import com.cq.hd.product.mapper.TbActiveDiscountMapper;
import com.cq.hd.product.service.TbActiveDiscountService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 活动折扣关联表 服务实现类
 * </p>
 *
 * @author mYunYu
 * @since 2023-11-23
 */
@Service
public class TbActiveDiscountServiceImpl extends ServiceImpl<TbActiveDiscountMapper, TbActiveDiscountPo> implements TbActiveDiscountService {

    @Override
    public List<ActiveDiscountVo> listByActiveId(Long activeId) {
        return baseMapper.listVoByActiveId(activeId);
    }
}
